package com.llongwill.slg.gateway.user.support;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author xiangff
 * @date 2023-12-25 11:02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SjyVistorUserLoginRequest {

    /**
     * 教学执行id
     */
    @NotNull
    @Length(min = 1, max = 32)
    private String teachingExecuteId;

    /**
     * 用户名
     */
    @NotNull
    @Length(min = 1, max = 32)
    private String username;
}